﻿using System;
using System.Collections.Generic;
//using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
//using System.Threading.Tasks;

namespace NFCReader
{
    [
        Guid("2015FD9F-2ACF-4a3a-8E61-A66A0BE42850"),
        InterfaceType(ComInterfaceType.InterfaceIsDual),
        ComVisible(true)
    ]
    interface IActiveX
    {
        [DispId(1)]
        int EstablishContext();

        [DispId(2)]
        int ConnectToReader(string readerName);

        [DispId(3)]
        string Transmit(string command, int sendLen, int recvLen);

        [DispId(4)]
        string GetSmartCardID();
    }
}
